<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>

<!-- Header -->
<header id="main_header">
	<div id="login">

		<sec:authorize access="isAnonymous()">
			<a href="<c:url value="/login"/>">login</a>  |  
			<a href="<c:url value="/join"/>">Join</a>
		</sec:authorize>
		<sec:authorize access="isAuthenticated()">
			<sec:authentication property="name" />&nbsp;님 환영합니다!!&nbsp;&nbsp;
			<a href="<c:url value="/j_spring_security_logout" />">Logout</a>
		</sec:authorize>

	</div>

	<div id="main_logo">
		<a href="<c:url value="/"/>"><img
			src="<c:url value="/resources/images/kitri_logo1.gif"/>" width="210"
			height="45" alt="Kitri"></a>
	</div>

	<!-- Navigation -->
	<nav id="top_menu">
		<ul>
			<li><a href="<c:url value="/sayCeo"/>">인사말</a></li>
			<li><a href="<c:url value="/kitroIntro"/>">KITRI 소개</a></li>
			<li><a href="<c:url value="/kitriRnD"/>">연구개발</a></li>
			<li><a href="<c:url value="/eduInfo"/>">교육정보</a></li>
			<li><a href="<c:url value="/board/?boardType=1&boardPage=1"/>">알림소식</a></li>
		</ul>
	</nav>
</header>
